-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce Texture Throttling #472
Conversation
…ondition with shaders.
… management Load Textures only when node becomes visible.
…d texture handling" This reverts commit e60bda3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if it's worthwhile to make a TextureState enum so we won't have to compare strings?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably? That might go nicely into your shader changes. It just got updated here because // eslint-disable-next-line @typescript-eslint/no-explicit-any
is no longer needed and it auto dropped the comment from my IDE 😄
SVG changed due to Alpha fix.
Batch the amount of textures being downloaded (source) and uploaded (core ctx creation) to the GPU to reduce load on constrained devices.
The default is set to
0
where everything will be processed in a single frame, this can be reduced to any value (e.g.50
or25
) to limit the amount of textures being processed per frame.Todo: